package InetAddress_;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
public class M {
    public static void main(String[] args) {
        Monkey monkey = new Monkey();
        System.out.println(monkey.A(1));
    }
}

class Monkey {
    public int A(int n) {
        if (n == 10) {
            return 1;
        } else {
            return (A(n + 1) + 1) * 2;
        }
    }
}
